<template>
  <div>

    <!-- 头部 -->
    <NavBar
    :class="{'fixed-header': true,}"
    />

    <!-- 主体 -->
    <main>
      <slot/>
    </main>


    

  </div>
</template>



<style scoped>
.body {
  min-width: 1000px;
  @apply bg-light-100 flex flex-col min-h-screen;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 999;
}

</style>